gettext-runtime, fontconfig*, freetype*, expat*. See the \r
build/win32/vs10/README.txt file in glib for details where to unpack them.\r
\r
-You will also need a Python 2.x/3.x interpretor installed on your system,\r
+You will also need a Python 2.6+/3.x interpretor installed on your system,\r
which can be obtained from the official installers available from\r
http://www.python.org. Please note that the Python interpretor (python.exe)\r
-needs to be in your PATH before attempting the build of GTK+.\r
+either needs to be in your PATH before attempting the build of GTK+, or it\r
+can be found in the path specified by PythonPath in gtk-version-paths.props.\r
+If you happen to change the PythonPath setting in gtk-version-paths.props after\r
+opening gtk+.sln with Visual Studio, you will need to close the gtk+.sln solution,\r
+delete all the *.sdf, *.suo and *.user files before re-attempting the build.\r
\r
It is recommended that one builds the dependencies with VS10 as far as\r
possible, especially those from and using the GTK+ stack (i.e. GLib,\r
:DONE_GDKCONFIG_H
</GenGdkConfigHBroadway>
<GenerateGtkDbusBuiltSources>
+set PATH=$(PATH);$(PythonPath)
+
cd ..\..\..\gtk
python $(GlibEtcInstallRoot)\bin\gdbus-codegen --interface-prefix org.Gtk. --c-namespace _Gtk --generate-c-code gtkdbusgenerated ./gtkdbusinterfaces.xml
<GtkSeparateVSDllSuffix>-3-vs$(VSVer)</GtkSeparateVSDllSuffix>
<GtkDllPrefix>$(GtkSeparateVSDllPrefix)</GtkDllPrefix>
<GtkDllSuffix>$(GtkSeparateVSDllSuffix)</GtkDllSuffix>
+ <PythonPath>c:\python27</PythonPath>
</PropertyGroup>
<PropertyGroup>
<_PropertySheetDisplayName>gtkversionpathsprops</_PropertySheetDisplayName>
<BuildMacro Include="GtkDllSuffix">
<Value>$(GtkDllSuffix)</Value>
</BuildMacro>
+ <BuildMacro Include="PythonPath">
+ <Value>$(PythonPath)</Value>
+ </BuildMacro>
</ItemGroup>
</Project>
\ No newline at end of file
gettext-runtime, fontconfig*, freetype*, expat*. See the \r
build/win32/vs9/README.txt file in glib for details where to unpack them.\r
\r
-You will also need a Python 2.x/3.x interpretor installed on your system,\r
+You will also need a Python 2.6+/3.x interpretor installed on your system,\r
which can be obtained from the official installers available from\r
http://www.python.org. Please note that the Python interpretor (python.exe)\r
-needs to be in your PATH before attempting the build of GTK+.\r
+either needs to be in your PATH before attempting the build of GTK+, or it\r
+can be found in the path specified by PythonPath in gtk-version-paths.vsprops.\r
+If you happen to change the PythonPath setting in gtk-version-paths.vsprops after\r
+opening gtk+.sln with Visual Studio, you will need to close the gtk+.sln solution,\r
+delete all the *.ncb, *.suo and *.user files before re-attempting the build.\r
\r
It is recommended that one builds the dependencies with VS9 as far as\r
possible, especially those from and using the GTK+ stack (i.e. GLib,\r
<UserMacro
Name="GenerateGtkDbusBuiltSources"
Value="
+set PATH=$(PATH);$(PythonPath)

+
cd ..\..\..\gtk

python $(GlibEtcInstallRoot)\bin\gdbus-codegen --interface-prefix org.Gtk. --c-namespace _Gtk --generate-c-code gtkdbusgenerated ./gtkdbusinterfaces.xml

cd $(SolutionDir)

Name="GtkDllSuffix"
Value="$(GtkSeparateVSDllSuffix)"
/>
+ <UserMacro
+ Name="PythonPath"
+ Value="c:\python27"
+ />
</VisualStudioPropertySheet>
\ No newline at end of file